//
//  ViewController.swift
//  01-LearnAVFoundation
//
//  Created by hehuafeng on 2017/5/16.
//  Copyright © 2017年 雷厉峰行. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
    }

    @IBAction func playString(_ sender: Any) {
        // 1. 创建speechController对象
        let speechController = HHSpeechController()
        
        // 2. 调用播放
        speechController.beginConversation()
    }

}

